package chapter01;
import java.util.Scanner;
public class Test05_Add {
    public static void main(String[] args) {
        //接收输入
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入数字a:");
        int a = scanner.nextInt();
        System.out.println("请输入数字b:");
        int b = scanner.nextInt();
        System.out.println("结果为：");
        System.out.println(a+b);
        scanner.close();
    }
}
